//    Copyright (C) Kherty.  All rights reserved.
using System;

namespace OpenLS.Core
{
    class RepeatTextFormatItem : FormatItem
    {
        public RepeatTextFormatItem(char c)
        {
            _char = c;
        }
        readonly char _char;
        public override object Format(IFormattable obj)
        {
            return new RepeatText(_char.ToString());
            //\\return new InvisibleText(_char);
        }
    }
}